[#ftl]  [#-- you need this as first line! --]

[#-- Since Sweet default to use bracket syntax, there is nothing fancy here. --]

[@plaintext.layout title="QuickView"]

[#assign animals = [
  {"name": "pig", "price": 200.00, "size": "large"},
  {"name": "cow", "price": 100.00, "size": "small"},
  {"name": "chiken", "price": 150.00, "size": "large"} ] 
]
<p>We have these animals:
<table border=1>
  <tr><th>Name<th>Price
  [#list animals as being]
  <tr>
    <td>
      [#if being.size = "large"]<b>[/#if]
      ${being.name}
      [#if being.size = "large"]</b>[/#if]
    <td>${being.price} Euros
  [/#list]
</table>  
[/@plaintext.layout]
